#include<iostream>
using namespace std;
class student
{
    int xuehao;
    string name;
    char sex;
    int score;
public:
  friend istream& operator>>(istream& in, student& s)
    {
      in >> s.xuehao >>s.name>> s.sex >>s. score;
      return in;
    }
  friend ostream& operator<<(ostream& out, student& s)
  {
      out << s.xuehao<<' ' << s.name<<' ' << s.sex<<' ' << s.score;
      return out;
  }
 
};
int main()

{

    student s;

    cin >> s;

    cout << s;

    return 0;

}